package com.example.onlinetaxi.util.OKHttpUtil;

import com.example.onlinetaxi.dto.DataResponse;
import com.google.gson.Gson;

public class GetDataResponse {
    public static DataResponse getDataResponse(String response){
        Gson gson = new Gson();
        return gson.fromJson(response, DataResponse.class);
    }
}
